package com.swanclouds.model.account.builder.BMC;

import com.swanclouds.common.Buildable;

import java.util.List;

/**
 * @author 张立强
 * @version jdk1.8.0
 */
public interface BMCCreateRoleBuilder extends Buildable.Builder<BMCCreateRoleBuilder, BMCCreateUserGroup> {

    /**
     * @param privileges 包括： Administrator  Operator  User  None  Oem
     * @return RoleId
     */
    BMCCreateRoleBuilder Privileges(String privileges);

    /**
     *
     * @param name 用户组名称(角色名称)
     * @return name
     */
    BMCCreateRoleBuilder Name(String name);

    /**
     * 服务器自定义的权限类型
     * <p>
     * BMC: SNMP,Vmedia,KVM
     * <p>
     * @param oemPrivileges 权限类型
     * @return BMCCreateRoleBuilder
     */
    BMCCreateRoleBuilder OemPrivileges(List<String> oemPrivileges);
    BMCCreateRoleBuilder AddOemPrivilege(String oemPrivilege);
}
